home *** CD-ROM | disk | FTP | other *** search
-
-
-
- iiiiffffccccoooonnnnffffiiiigggg((((1111MMMM)))) iiiiffffccccoooonnnnffffiiiigggg((((1111MMMM))))
-
-
-
- NNNNAAAAMMMMEEEE
- ifconfig - configure network interface parameters
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ////uuuussssrrrr////eeeettttcccc////iiiiffffccccoooonnnnffffiiiigggg [ ----vvvv ] _i_n_t_e_r_f_a_c_e _a_d_d_r_e_s_s__f_a_m_i_l_y [ _a_d_d_r_e_s_s [ _d_e_s_t__a_d_d_r_e_s_s ] ]
- [ _p_a_r_a_m_e_t_e_r_s ]
- ////uuuussssrrrr////eeeettttcccc////iiiiffffccccoooonnnnffffiiiigggg _i_n_t_e_r_f_a_c_e [ _p_r_o_t_o_c_o_l__f_a_m_i_l_y ]
- ////uuuussssrrrr////eeeettttcccc////iiiiffffccccoooonnnnffffiiiigggg [ ----vvvv ] -_a
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _i_f_c_o_n_f_i_g is used to assign an address to a network interface and/or
- configure network interface parameters. _i_f_c_o_n_f_i_g is invoked at boot time
- from /_e_t_c/_i_n_i_t._d/_n_e_t_w_o_r_k to define the network address of each interface
- present on a machine; you can also use it once the system is up to
- redefine an interface's address or other operating parameters. The
- _i_n_t_e_r_f_a_c_e parameter is a string of the form ``name unit'', for example,
- eeeennnnpppp0000. Using the ----aaaa option shows status for all interfaces on the
- machine.
-
- If specified, the ----vvvv option causes additional information about specified
- interfaces to be displayed, including speed.
-
- Since an interface can receive transmissions in differing protocols, each
- of which may require separate naming schemes, it is necessary to specify
- the _a_d_d_r_e_s_s__f_a_m_i_l_y, which can change the interpretation of the remaining
- parameters. Currently, just the ``inet'' address family is supported.
-
- For the Internet family, the address is either an Internet address
- expressed in the Internet standard ``dot notation'' (see _i_n_e_t(3N)), or a
- hostname present in the _h_o_s_t_s(4) file, /_e_t_c/_h_o_s_t_s. (Other _h_o_s_t_s
- databases, such as _n_a_m_e_d and NIS, are ignored.)
-
- Only the superuser can modify the configuration of a network interface.
-
- The following parameters can be set with _i_f_c_o_n_f_i_g:
-
- uuuupppp Mark an interface uuuupppp. This can be used to enable an
- interface after an iiiiffffccccoooonnnnffffiiiigggg ddddoooowwwwnnnn. It happens
- automatically when setting the first address on an
- interface. If the interface was reset when previously
- marked down, the hardware is reinitialized.
-
- ddddoooowwwwnnnn Mark an interface ddddoooowwwwnnnn. When an interface is marked ddddoooowwwwnnnn,
- the system does not attempt to transmit messages through
- that interface. If possible, the interface is reset to
- disable reception as well. This action does not
- automatically disable routes using the interface.
-
- aaaarrrrpppp Enable the use of the Address Resolution Protocol in
- mapping between network level addresses and link level
- addresses (default). It is used by a variety of data link
- network interfaces such as Ethernet.
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- iiiiffffccccoooonnnnffffiiiigggg((((1111MMMM)))) iiiiffffccccoooonnnnffffiiiigggg((((1111MMMM))))
-
-
-
- ----aaaarrrrpppp Disable the use of the Address Resolution Protocol.
-
- aaaalllliiiiaaaassss _a_d_d_r Establish an additional network address for this
- interface. This can be useful in permitting a single
- physical interface to accept packets addressed to several
- different addresses such as when you are changing network
- numbers and you wish to accept packets addressed to the
- old interface. Another case is when you'd like to have
- multiple addresses assigned to a single network interface.
- The bbbbrrrrooooaaaaddddccccaaaasssstttt and nnnneeeettttmmmmaaaasssskkkk options can also be used in
- conjunction with the aaaalllliiiiaaaassss option. When using aliases you
- may have to change the configuration of _r_o_u_t_e_d, especially
- if aliases are on different networks than the primary
- address. Aliases are added as host entries in the routing
- tables for _r_o_u_t_e_d. See _r_o_u_t_e_d(1M) for more information on
- this.
-
- ----aaaalllliiiiaaaassss|ddddeeeelllleeeetttteeee _a_d_d_r
- Deletes a previously added alias.
-
- mmmmeeeettttrrrriiiicccc _n Set the routing metric of the interface to _n, default 0.
- The routing metric is used by the routing protocol
- (_r_o_u_t_e_d). Higher metrics have the effect of making a
- route less favorable; metrics are counted as addition hops
- to the destination network or host.
-
- nnnneeeettttmmmmaaaasssskkkk _m_a_s_k Specify how much of the address to reserve for subdividing
- networks into subnetworks. The mask includes the network
- part of the local address and the subnet part, which is
- taken from the host field of the address. The mask can be
- specified as a single hexadecimal number with a leading
- 0x, with a dot-notation Internet address, or with a
- pseudo-network name listed in the network table
- _n_e_t_w_o_r_k_s(4). The mask contains 1's for the bit positions
- in the 32-bit address that are to be used for the network
- and subnet parts, and 0's for the host part. The mask
- should contain at least the standard network portion, and
- the subnet field should be contiguous with the network
- portion.
-
- mmmmttttuuuu _n Specify device maximum transmission unit value. This may
- not be supported on all devices. Currently, this may be
- used to lower ethernet MTU's below 1500 bytes to
- interoperate with buggy adapters and network hardware.
-
- bbbbrrrrooooaaaaddddccccaaaasssstttt _a_d_d_r Specify the address to use to represent broadcasts to the
- network. The default broadcast address is the address
- with a host part of all 1's.
-
- _d_e_s_t__a_d_d_r Specify the address of the correspondent on the other end
- of a point-to-point link.
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- iiiiffffccccoooonnnnffffiiiigggg((((1111MMMM)))) iiiiffffccccoooonnnnffffiiiigggg((((1111MMMM))))
-
-
-
- ddddeeeebbbbuuuugggg Enable driver-dependent debugging code; usually, this
- turns on extra console error logging.
-
- ----ddddeeeebbbbuuuugggg Disable driver-dependent debugging code.
-
- hhhhiiiigggghhhhbbbbwwww Flag an interface as being a high-bandwidth interface.
- This acts as a hint which allows upper layer protocols to
- adjust their behaviour to optimise performance (e.g. TCP
- will be less aggressive with ACKing).
-
- ----hhhhiiiigggghhhhbbbbwwww Remove the high-bandwidth flag from an interface.
-
- lllliiiinnnnkkkk{{{{0000,,,,1111,,,,2222}}}} Enable driver-specific feature 0-2.
-
- ----lllliiiinnnnkkkk{{{{0000,,,,1111,,,,2222}}}} Disable driver-specific feature 0-2.
-
- pppprrrriiiimmmmaaaarrrryyyy This parameter makes the specified interface the primary
- interface for networking. In cases where no interface or
- interface address is specified by an application, the
- 'primary' interface will be preferred.
-
- rrrrssssppppaaaacccceeee _v_a_l_u_e Specifies the default receive space used by TCP when
- communicating over the interface. Use a value of 0 to
- clear this parameter and use the system-wide default.
-
- ssssssssppppaaaacccceeee _v_a_l_u_e Specifies the default send space used by TCP when
- communicating over the interface. Use a value of 0 to
- clear this parameter and use the system-wide default.
-
- _i_f_c_o_n_f_i_g displays the current configuration for a network interface when
- no optional parameters are supplied. If a protocol family is specified,
- _i_f_c_o_n_f_i_g reports only the details specific to that protocol family.
-
- NNNNOOOOTTTTEEEESSSS
- Network interfaces on Silicon Graphics systems can only receive and not
- send packets that use ``trailer'' link-level encapsulation. Therefore,
- _i_f_c_o_n_f_i_g does not accept the ttttrrrraaaaiiiilllleeeerrrrssss parameter.
-
- For 100baseTX interfaces, such as 'ef', LINK0 being set indicates that
- the device is operating at full-duplex. It is not currently possible to
- force full- or half-duplex by setting or clearing this flag.
-
- Currently options such as 'metric' are not handled for IP aliases;
- adjusting the metric will affect only the primary address. 'broadcast'
- and 'netmask' are the only options currently known to work properly with
- IP aliases.
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- Messages indicating the specified interface does not exist, the requested
- address is unknown, or the user is not privileged and tried to alter an
- interface's configuration.
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-
-
-
- iiiiffffccccoooonnnnffffiiiigggg((((1111MMMM)))) iiiiffffccccoooonnnnffffiiiigggg((((1111MMMM))))
-
-
-
- FFFFIIIILLLLEEEESSSS
- /etc/hosts host-address database
- /etc/config/ifconfig-?.options site-specific options (1 file per
- interface)
- /etc/config/ipaliases.options interface-specific ip alias addresses
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- netstat(1), network(1M).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 4444
-
-
-
-